<template>
  <view class="button-wrap">
    <button class="btn" @click="handleSubmit">{{btnTitle}}</button>
  </view>
</template>

<script>
export default {
  name: 'buttonBottom',
  props: {
    btnTitle: {
      type: String,
      default: '确认'
    }
  },
  data() {
    return {
    }
  },
  methods: {
    handleSubmit() {
      this.$emit('submit')
    }
  }
}

</script>
<style lang='scss' scoped>
.button-wrap{
  width: 100%;
  .btn{
    width: 100%;
    height:98upx;
    background:rgba(44,109,210,1);
    border-radius:10upx;
    border:none;
    outline: none;
    font-size:38upx;
    font-weight:800;
    color:rgba(255,255,255,1);
  }
  
}
</style>